//
//  Man.m
//  07arc代码编写
//
//  Created by dllo on 16/7/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Man.h"

@implementation Man



- (instancetype)init
{
    self =[super init];
    if (self) {
        self.objc = [NSObject new];
    }
    return self;
}






//arc下缺少了if判断
- (void)setObjc:(NSObject *)objc
{
    _objc = objc;
}


- (void)setString:(NSString *)string
{
    _string = [string copy];
}

- (void)setCount:(NSInteger)count
{
    _count = count;
}
- (void)setDelegate:(id<NSObject>)delegate
{
    _delegate = delegate;
}

//arc下可以写dealloc
- (void)dealloc
{
    
    //不能写[super dealloc]
}





@end
